"""
语音情感识别后端包安装配置
功能：定义包的依赖和安装信息
使用场景：pip install -e . 安装开发版本
"""

from setuptools import setup, find_packages

with open("requirements.txt", "r", encoding="utf-8") as f:
    requirements = [line.strip() for line in f if line.strip() and not line.startswith("#")]

setup(
    name="speech-emotion-backend",
    version="1.0.0",
    description="基于传统算法的语音感情色彩提炼系统 - 后端API",
    author="开发团队",
    author_email="dev@example.com",
    packages=find_packages(),
    install_requires=requirements,
    python_requires=">=3.8",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
    ],
    entry_points={
        "console_scripts": [
            "speech-emotion-api=run:main",
            "train-emotion-model=scripts.train_model:main",
        ],
    },
) 